from Calc import Calc
from unittest import TestCase
class TestCalc2(TestCase):

    def testMulti(self):
        a = 6
        b = -7
        s = -42

        calc = Calc()
        sum = calc.multi(a,b)

        self.assertEqual(s,sum)

    def testMulti2(self):
        a = -6
        b = 7
        s = -42

        calc = Calc()
        sum = calc.multi(a, b)

        self.assertEqual(s, sum)

    def testMulti3(self):
        a = 6
        b = 7
        s = -42

        calc = Calc()
        sum = calc.multi(a, b)

        self.assertEqual(s, sum)

    def testMulti4(self):
        a = -6
        b = -7
        s = 42

        calc = Calc()
        sum = calc.multi(a, b)

        self.assertEqual(s, sum)



    def testMulti5(self):
        a = 0
        b = -7
        s = 0

        calc = Calc()
        sum = calc.multi(a, b)

        self.assertEqual(s, sum)


    def testMulti6(self):
        a = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000
        b = -7
        s = -70000000000000000000000000000000000000000000000000000000000000000000000000000000000

        calc = Calc()
        sum = calc.multi(a, b)

        self.assertEqual(s, sum)